//导入axios的实例化对象


import service from "./request";

//一个请求封装成一个函数
//用户注册
export function user_register(params = {}) {
    return service.post('/user/register', params)
}
//用户登录
export function user_login(params = {}) {
    return service.post('/user/login', params)
}
//轮播图
export function banner_list(params = {}) {
    return service.get('/banner/list', { params })
}
//店铺列表
export function shop_list(params = {}) {
    return service.get('/shop/list', { params })
}
//店铺详情
export function shop_shopinfo(params = {}) {
    return service.get('/shop/shopinfo', { params })
}


